/*
 * Copyright (c) 2022 上海市政工程设计研究总院(集团)有限公司 All Rights Reserved.
 */
package com.smedi.ismedi.organization.core.application.convert;

import com.smedi.ismedi.organization.core.application.command.OrganizationListQueryCommand;
import com.smedi.ismedi.organization.core.application.command.OrganizationOneQueryCommand;
import com.smedi.ismedi.organization.core.application.command.ProjectOrganizationListQueryCommand;
import com.smedi.ismedi.organization.core.domain.aggregatemodel.dto.OrganizationQuery;
import com.smedi.ismedi.organization.core.domain.aggregatemodel.dto.ProjectOrganizationQuery;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**
 * 维修内容 Infrastructure Converter
 *
 * @author 15428
 * &#064;date  2022-06-07 15:22:03
 * @since 0.0.1
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface AppConverter {
    OrganizationQuery organizationListQueryCommandToOrganizationQuery(OrganizationListQueryCommand organizationListQueryCommand);

    OrganizationQuery organizationOneQueryCommandToOrganizationQuery(OrganizationOneQueryCommand organizationOneQueryCommand);

    ProjectOrganizationQuery projectOrganizationListQueryCommandToProjectOrganizationQuery(ProjectOrganizationListQueryCommand projectOrganizationListQueryCommand);
}
